package net.maku.events.convert;

import net.maku.events.entity.UserJourneyEntity;
import net.maku.events.vo.UserJourneyVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 用户行程
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-22
*/
@Mapper
public interface UserJourneyConvert {
    UserJourneyConvert INSTANCE = Mappers.getMapper(UserJourneyConvert.class);

    UserJourneyEntity convert(UserJourneyVO vo);

    UserJourneyVO convert(UserJourneyEntity entity);

    List<UserJourneyVO> convertList(List<UserJourneyEntity> list);

}